<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Podklad pre daňové priznanie</title>
        <link rel="stylesheet" href="<c:url value="/default.css"/>" type="text/css">
    </head>
    <body>
        <div>
        <h1>Podklad pre daňové priznanie za rok ${year}</h1>

        <table style="margin:0px auto">
                <tr>
                    <th>Suma prijatých platieb:</th>
                    <td>${sumPayments}</td>
                </tr>
                <tr>
                    <th>Suma faktúr:</th>
                    <td>${sumInvoices}</td>
                </tr>
            </table>
        <form action="<c:url value="/index.jsp"/>">
            <p>
                <input type="Submit" value="Späť" name="back"/>
            </p>
        </form>
        </div>
    </body>
</html>